projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f142f90
)
Added file type
author
parkrrrr
<parkrrrr>
Tue, 29 Mar 2005 15:05:45 +0000
(15:05 +0000)
committer
parkrrrr
<parkrrrr>
Tue, 29 Mar 2005 15:05:45 +0000
(15:05 +0000)
intdoc/SA2003_an1_dump.pl
patch
|
blob
|
history
diff --git
a/intdoc/SA2003_an1_dump.pl
b/intdoc/SA2003_an1_dump.pl
index 10ec33f78f49704ccf26166788d31c01df42a003..5bbb690d1b4e624406c64f6e20bbf41f1fa29c7a 100644
(file)
--- a/
intdoc/SA2003_an1_dump.pl
+++ b/
intdoc/SA2003_an1_dump.pl
@@
-60,11
+60,14
@@
sub decodeGuid {
undef $/;
$file = <>;
+@filetypes = qw( drawing road trail waypoint track );
+
# read file header
-($magic, $
unk1
) = shiftunpack( 'ss' );
+($magic, $
filetype
) = shiftunpack( 'ss' );
print <<END;
MAGIC $magic
+$filetypes[$filetype] layer
END